<%

parsed_json = ActiveSupport::JSON.decode(params[:ids])

parsed_json.each do |obj|
 %>
 <% obj[0].each do |a| %>
 <%= a %>
 <% end %>
 <% end %>